#ifndef CONTEXT_MAIN_H
#define CONTEXT_MAIN_H


#include "Engine/Visual.h"
#include "Engine/Reason.h"
#include "Engine/Sense.h"
#include "Engine/Resource/Graphic.h"

namespace Context {

class Main : public Engine::Visual, public Engine::Reason, public Engine::Sense {
	private:
		static Main * instance; 
		Engine::Resource::Graphic background; 

	public:
		static inline Main * raise(); 

	private:
		 Main(); 

	public:
		virtual  ~Main(); 
		virtual Engine::Resource::GraphicList display(); // Asks for generation of a graphical model to be displayed
		virtual void pulse(int delta); 
		inline virtual void exit(); 

	private:
		Engine::Resource::Graphic pacmanCursor; 
};
inline Context::Main * Main::raise()
{
	if (instance == 0) instance = new Main();
	return instance;
}

inline void Main::exit() {
}


} // namespace Context
#endif
